package cn.it.infrastructure.mapper;


import cn.it.infrastructure.domain.valobj.AddressVO;
import cn.it.infrastructure.po.TbUser;
import org.apache.ibatis.annotations.Mapper;

/**
* @author ASUS
* @description 针对表【tb_user】的数据库操作Mapper
* @createDate 2024-07-04 17:27:57
* @Entity po.TbUser
*/
@Mapper
public interface IUserMapper {

    int deleteByPrimaryKey(Long id);

    void insert(TbUser record);

    int insertSelective(TbUser record);

    TbUser selectByPrimaryKey(Long id);

    TbUser selectGetByOpenid(String openId);

    int updateByPrimaryKeySelective(TbUser record);

    int updateByPrimaryKey(TbUser record);

    /**
     * 修改收获地址
     * @param record
     */
    void updateAddress(TbUser record);
}
